export const baseUrl2 = 'http://127.0.0.1:3001'

export const adminLoginApi2 = (aname, apwd) => {
  return fetch(`${baseUrl2}/admin/login`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({ aname, apwd })
  })
}